<?php $this->load->view('tourism/layout/header') ?>
<?php js('skins/tourism', 'user'); ?>
<div class="am-search details">
    <ul class="am-cf">
        <li class="r-black">
            <a href="<?php echo site_url('tourism/user/orderDetail/'.$orderProductInfo->order_id)?>">
                <i class="iconfont icon-zuojiantou"></i>
            </a>
        </li>
        <li class="header-input">
            <p>退款申请</p>
        </li>
        <li class="header-home">
        	<?php $this->load->view('tourism/layout/nav'); ?>
	    </li>
    </ul>
</div>
<div class="evaluate-first refund">
    <form class="am-form" id="order-refund-apply" action="<?php echo site_url('tourism/refund/confirmPost') ?>" method="post" enctype="multipart/form-data">
        <div class="am-refund">
                <input type="hidden" name="order_product_id" value="<?php echo $orderProductInfo->order_product_id; ?>" />
                 <div class="am-form-group">
                    <label>退款数量<span>(最多可退<?php echo $orderProductInfo->refund_num; ?>件)</span></label>
                     <select class="apply" name="number">
                         <?php for($i = 1;$i <= $orderProductInfo->refund_num;$i++):?>
                             <option value="<?php echo $i; ?>"><?php echo $i; ?></option>
                        <?php endfor; ?>
                     </select>
                </div>
                <div class="am-form-group">
                    <label>联系人姓名</label>
                    <input type="text" class="apply" name="user_name" placeholder="请输入联系人姓名">
                </div>
                <div class="am-form-group">
                    <label>联系人手机号</label>
                    <input type="text" class="apply" name="cellphone" placeholder="请输入联系人手机号">
                </div>
                <div class="am-form-group">
                    <label>退款说明</label>
                    <input type="text" class="apply" name="refund_content" placeholder="请输入退款说明">
                </div>
                <div class="am-form-group ruten-scpz">
                    <input class="up-loading" id="order-refund-images" type="file" name="images" >
                    <div class="up-add"><i class="iconfont">&#xe626;</i><span>上传凭证 最多一张</span></div>
                </div>
                <div class="mode-sure">
                    <button type="submit" class="am-btn">提交申请</button>
                </div>
        </div>
    </form>
</div>
<?php $this->load->view('tourism/layout/footer') ?>